package com.school.mall.sys.service.impl;

import com.school.mall.sys.entity.MallGoodsType;
import com.school.mall.sys.mapper.MallGoodsTypeMapper;
import com.school.mall.sys.service.MallGoodsTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 商品类型表 服务实现类
 */
@Service
public class MallGoodsTypeServiceImpl extends ServiceImpl<MallGoodsTypeMapper, MallGoodsType> implements MallGoodsTypeService {

    @Override
    public boolean deleteBatchIds(List<String> ids) {
        return baseMapper.deleteBatchIds(ids) > 0;
    }
}
